package com.ctrip.ec.api.mobile.model.activity;

import com.ctrip.ec.biz.entity.activity.ActivityEntity;
import com.ctrip.ec.biz.entity.activity.ActivityImageEntity;
import com.ctrip.ec.biz.entity.brand.BrandEntity;

import java.util.List;

/**
 * Created by jiangzy on 2018/9/3.
 */
public class ActivityModel extends ActivityEntity {

    public  ActivityModel(){}
    public  ActivityModel(ActivityEntity entity){
        for(String col : entity.property().getColumns()){
            this.fieldValue(col,entity.fieldValue(col));
        }
    }

    private List<ActivityImageEntity> imageList;

    private BrandEntity brand;

    public BrandEntity getBrand() {
        return brand;
    }

    public void setBrand(BrandEntity brand) {
        this.brand = brand;
    }

    public List<ActivityImageEntity> getImageList() {
        return imageList;
    }

    public void setImageList(List<ActivityImageEntity> imageList) {
        this.imageList = imageList;
    }
}
